package com.example.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration//声明注解类
@EnableWebMvc//快速配置SpringMvc注解
@ComponentScan("com.example.controller")//Bean扫描
public class WebConfiguration {

}
